#!/usr/bin/python
# -*- coding: UTF-8 -*-

from threading import Timer

def hello():
    print("hello, world")

# 表示1秒后执行hello函数
t = Timer(1, hello)
t.start()